// 侧边菜单宽度，需与 setting.js 的 menuSideWidth 保持一致
@menuSideWidth: 296px;
// 主题Color
@side-bar-bg: #132B46;
@button-primary-active-bg: #008aff;
@primary-table-header-bg-color:#1c3a5e;

@primary-color: #0D66FC;

@white-color          : #fff;
@link-color             : #008CFF;
@background-color-base:#0E243E;
@background-color-menu:#008cff;
@border-color :rgba(160, 159, 159, 0.1);
@default-color:#cecece;
@colbg-color:rgba(40, 51, 64, 1);
@title-border-color:rgba(160, 159, 159, 0.1);
@grid-color:rgba(160, 159, 159, 0.1);;
@blue-color:#00dfff;

//自定义
//1.设备状态color
@S03_000:#008cff; //正常状态
@S03_001:#f09614; //离线
@S03_002:#fae600; //异常
@S03_003:#dc2828; //安全警告
@S03_004:#fae600; //联动情况
@S03_005:#58ca5d; //工作运行
@abnormal:#FFB43B;
//渐变边框
.border{
  box-sizing:border-box;
  border: 3px solid;
  border-image: -webkit-linear-gradient(#F80, #2ED) 20 20 !important;
  border-image: -moz-linear-gradient(#F80, #2ED) 20 20 !important;
  border-image: -o-linear-gradient(#F80, #2ED) 20 20 !important;
  border-image: linear-gradient(#F80, #2ED) 20 20 !important;
}
//上下左右居中
.center{
  position:absolute;
  left: 50%;
  top: 50%;
  transform:translate(-50%,-50%);
}
//设置标题
.h(@font:16px,@color:#333){
  font-size:@font;
  color: @color;
}
//单行文字缩略
.ellipsis{
  white-space:nowrap;
  overflow: hidden;
  text-overflow:ellipsis;
  width:100%;
}
//单行文字居中
.lineCenter(@height:24px){
  height:24px;
  line-height: 24px;
}

.status{
  color:@S03_000;
  &.alarm_status{
    color:red;
  }
  &.abnormal_status{
    color: @S03_002;
  }
  &.offline_status{
    color: @S03_001;
  }
}
.more{
  margin-top: 10px;
}
